package com.bjdd.jdy.ui.sign;

import com.bjdd.jdy.base.BaseModel;
import com.bjdd.jdy.base.BasePresenter;
import com.bjdd.jdy.base.BaseResult;
import com.bjdd.jdy.base.BaseView;

import rx.Observable;

/**
 * Created by Administrator on 2017/5/3.
 */

public interface SignContract {
    interface Model extends BaseModel{
        Observable<BaseResult<String>> sign(String token, String sign, String orderNo, String carrierId, String code);
        Observable<BaseResult<String>> sendSMSCode(String token,String orderNo,String carrierId);
    }
    interface View extends BaseView{
        void signSuccess();
        void sendSuccess();
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void sign(String orderNo,String code);
        abstract void sendSMS(String orderNo,String carrierId);
    }
}
